package idydynamic.factory;

import idydynamic.service.IdydynamicService;

public class IdydynamicFactory {
	private static IdydynamicFactory instance;
	private IdydynamicService Idydynamic;
	
	private IdydynamicFactory(){
		Idydynamic=new IdydynamicService();
	}

	public static synchronized IdydynamicFactory getInstance() {

		if (instance == null) {
			instance = new IdydynamicFactory();
		}
		return instance;
	}

	public IdydynamicService creatIdydynamicService() {
		return Idydynamic;
	}
}

